<?php
/**
 * Created by PhpStorm.
 * User: zhanglu
 * Date: 2019/4/1
 * Time: 4:42 PM
 */

$this->title = '站内资讯';
$this->registerCss("
    body{background:#F7F7F7}
    .page-news{padding:40px 0px 0px 0px;text-align:center;}
    .page-news .title{font-size:28px;font-weight:500;color:#333}
    .page-news .desc{text-transform: uppercase;font-size:18px;color:#333;font-weight:300;letter-spacing:1px}
    .cate-list{padding:0 20px;}
");
?>

<div class="page-news">
    <p class="title" style="margin-bottom: 5px">论文资源</p>
    <p class="desc" style="text-transform: uppercase;margin-bottom: 20px">paper resources</p>

    <div class="cate-list">
        <?php foreach($catelist as $k=>$v){ ?>
            <a href="/touch/default/list?id=<?=$k?>">
                <div class="cate-item" style="width:100%;height:44px;background: url(/img/mokuai.png) no-repeat center;background-size: cover;display: flex;align-items: center;line-height: 44px;padding: 0 10px;">
                    <div style="flex:3;text-align: left;">
                        <p style="margin: 0px;font-size: 16px;color:#fff;font-weight:500"><?=$v?></p>
                    </div>
                    <div style="flex:1;text-align: right;">
                        <p style="margin: 0px;color:#2F5DCA;font-size: 14px;font-weight: 500">MORE <span class="glyphicon glyphicon-circle-arrow-right"></span></p>
                    </div>
                </div>
            </a> 
        <?php }?>
    </div>

</div>
